package com.dao;

public class ProductCategory {
    private int id;
    private long parentId;
    private char name;
    private int status;
    private int sortOrder;
    private int isParent;
    private String createdTime;
    private String modifiedTime;
    private char createdUser;
    private char modifiedUser;
    public ProductCategory(){

    }

    public ProductCategory(int id, long parentId, char name, int status, int sortOrder, int isParent, String createdTime, String modifiedTime, char createdUser, char modifiedUser) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.status = status;
        this.sortOrder = sortOrder;
        this.isParent = isParent;
        this.createdTime = createdTime;
        this.modifiedTime = modifiedTime;
        this.createdUser = createdUser;
        this.modifiedUser = modifiedUser;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public char getName() {
        return name;
    }

    public void setName(char name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(int sortOrder) {
        this.sortOrder = sortOrder;
    }

    public int getIsParent() {
        return isParent;
    }

    public void setIsParent(int isParent) {
        this.isParent = isParent;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(String modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public char getCreatedUser() {
        return createdUser;
    }

    public void setCreatedUser(char createdUser) {
        this.createdUser = createdUser;
    }

    public char getModifiedUser() {
        return modifiedUser;
    }

    public void setModifiedUser(char modifiedUser) {
        this.modifiedUser = modifiedUser;
    }

    @Override
    public String toString() {
        return "ProductCategory{" +
                "id=" + id +
                ", parentId=" + parentId +
                ", name=" + name +
                ", status=" + status +
                ", sortOrder=" + sortOrder +
                ", isParent=" + isParent +
                ", createdTime='" + createdTime + '\'' +
                ", modifiedTime='" + modifiedTime + '\'' +
                ", createdUser=" + createdUser +
                ", modifiedUser=" + modifiedUser +
                '}';
    }
}
